<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title th:text="${category.categoryName+'-陕西继续教育服务中心'}">陕西继续教育服务中心</title>
    <meta name="keywords" th:content="${category.keywords}">
    <meta name="description" th:content="${category.description}">
    <th:block th:include="adultexam/include" />
    <link rel="stylesheet" href="/adultexam/css/resect.css">
    <link rel="stylesheet" href="/adultexam/css/list.css">
    <link rel="stylesheet" href="/adultexam/css/public.css">

</head>
<body>
    <div class="list">
        <div th:replace="adultexam/header"></div>
        <div class="container">
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="/">首页</a></li>
                    <li class="breadcrumb-item active" aria-current="page" th:text="${category.categoryName}">普通专升本</li>
                </ol>
            </nav>
        </div>
        <div class="container boxs">

            <ul class="col-left web-list-items web-list">
                <li  th:each="item,temp:${articleList}" class="web-list-split">
                    <a target="_blank"  th:href=" ${'/article/'+item.id}" class="web-list-item">
                        <div class="web-list-extra">
                            <div class="notices-list-img-square">
                               <!-- <img   th:if="${item.coverImage} == null" src="/adultexam/images/defaultPicture.jpg" alt="">-->
                                <img  th:if="${item.coverImage} != null" th:src="${item.coverImage}"   width="125px"    height="125px"></img>
                            </div>
                        </div>
                        <div class="web-list-main">
                            <div class="web-list-title">
                                [[${item.title}]]
                            </div>
                            <ul class="web-list-action">
                                <li>浏览次数：<i>[[${item.hit }]]</i>次数</li>
                             <!--   <li>点击次数：<i>[[${item.hit }]]</i>次数</li>-->
                            </ul>
                            <div class="web-list-description">
                                [[${item.description}]]
                            </div>
                            <div class="web-list-description"  th:if="${item.validityEndTime != null} and ${item.validityEndTime > new java.util.Date()}">
<div style="color: #00b481">                                进行中 [[${ #dates.format(item.validityStartTime ,'yyyy-MM-dd HH:mm:ss')}]] -  [[${ #dates.format(item.validityEndTime ,'yyyy-MM-dd HH:mm:ss')}]]
</div>
                            </div>
                            <div class="web-list-description"  th:if="${item.validityEndTime != null}  and ${item.validityEndTime < new java.util.Date()}">
<div style="color: #9A9A9A">                              已截至 [[${ #dates.format(item.validityStartTime ,'yyyy-MM-dd HH:mm:ss')}]] -  [[${ #dates.format(item.validityEndTime ,'yyyy-MM-dd HH:mm:ss')}]]
</div>
                            </div>
                            <div class="web-list-description"  th:if="${item.validityLong == '1'} ">
<div style="color: #00b481">          长期有效 </div>
                            </div>

                        </div>
                    </a>
                </li>
                <nav aria-label="翻页">
                    <ul class="pagination">
                        <li class="page-item"><a class="page-link"  th:href="${'/category/'+categoryId+'?pageNum=1'}">第一页</a></li>
                        <li class="page-item"><a class="page-link"
                                                 th:href="${'/category/'+categoryId+'?pageNum='+(currentPage+1)}"
                                                 th:text="${(currentPage+1)}">1</a></li>
                        <li class="page-item"><a class="page-link"
                                                 th:href="${'/category/'+categoryId+'?pageNum='+(currentPage+2)}"
                                                 th:text="${(currentPage+2)}">1</a></li>
                        <li class="page-item"><a class="page-link"
                                                 th:href="${'/category/'+categoryId+'?pageNum='+(currentPage+3)}"
                                                 th:text="${(currentPage+3)}">1</a></li>
                        <li class="page-item"><a class="page-link"
                                                 th:href="${'/category/'+categoryId+'?pageNum='+(currentPage+4)}"
                                                 th:text="${(currentPage+4)}">1</a></li>
                        <li class="page-item"><a class="page-link"
                                                 th:href="${'/category/'+categoryId+'?pageNum='+(currentPage+5)}"
                                                 th:text="${(currentPage+5)}">1</a></li>
                        <li class="page-item"><a class="page-link"
                                                 th:href="${'/category/'+categoryId+'?pageNum='+(currentPage+6)}"
                                                 th:text="${(currentPage+6)}">1</a></li>

                        <li class="page-item"><a class="page-link"    th:href="${'/category/'+categoryId+'?pageNum='+(currentPage+1)}" >下一页</a></li>
                    </ul>
                </nav>
            </ul>
            <div class="col-right col-12 col-xl-4">
                <div class="list-bottom col-right-list">
                    <div class="but-title">
                        <span class="but-icon"><img src="/adultexam/images/news.png"/></span>
                        <span class="but-text">今日头条</span>
                    </div>
                    <ul class="col-right-items" >
                        <li class="col-right-item" th:each="item,temp:${@adult.ArticleByCateg('6',6)}">
                            <a target="_blank" th:text="${item.title}"  th:href="${'/article/'+item.id}"> </a>
                        </li>
                    </ul>
                </div>
                <div class="list-bottom col-right-list">
                    <div class="but-title">
                        <span class="but-icon"><img src="/adultexam/images/edit.png"/></span>
                        <span class="but-text">报考秘籍</span>
                    </div>
                    <ul class="col-right-items">
                        <li class="col-right-item"  th:each="item,temp:${applicationCheats}">
                            <a target="_blank" th:href="${'/article/'+item.id}" th:text="${item.title}">报考秘籍</a>
                        </li>
                        <!--<li class="col-right-item"><a href="#">考试简介考试简介考试简介考试简介考试简介考试简介</a></li>
                        <li class="col-right-item"><a href="#">考试简介考试简介考试简介考试简介考试简介考试简介</a></li>
                        <li class="col-right-item"><a href="#">考试简介考试简介考试简介考试简介考试简介考试简介</a></li>
                        <li class="col-right-item"><a href="#">考试简介考试简介考试简介考试简介考试简介考试简介</a></li>-->
                    </ul>
                </div>
                <div class="list-bottom col-right-list">
                    <div class="but-title">
                        <span class="but-icon"><img src="/adultexam/images/edit.png"/></span>
                        <span class="but-text">最新试题</span>
                    </div>
                    <ul class="col-right-items">
                        <li class="col-right-item"  th:each="item,temp:${latestTestQuestions}">
                            <a target="_blank" th:href="${'/article/'+item.id}" th:text="${item.title}">历年真题</a>
                        </li>
                        <!-- <li class="col-right-item"><a href="#">考试简介考试简介考试简介考试简介考试简介考试简介</a></li>
                        <li class="col-right-item"><a href="#">考试简介考试简介考试简介考试简介考试简介考试简介</a></li>
                        <li class="col-right-item"><a href="#">考试简介考试简介考试简介考试简介考试简介考试简介</a></li>
                        <li class="col-right-item"><a href="#">考试简介考试简介考试简介考试简介考试简介考试简介</a></li>
                        <li class="col-right-item"><a href="#">考试简介考试简介考试简介考试简介考试简介考试简介</a></li>-->
                    </ul>
                </div>
            </div>
        </div>
        <th:block th:include="adultexam/footer" />
    </div>
</body>
</html>
